<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理中心</title>
<link rel="stylesheet" href="<?php echo $this->baseUrl;?>/files/admin/css/main.css" />
<script language="javascript" src="<?php echo $this->baseUrl;?>/files/admin/js/jquery.js"></script>
<link rel="stylesheet" href="<?php echo $this->baseUrl;?>/files/admin/js/formValidator.jquery/style.css" />
<script language="javascript" src="<?php echo $this->baseUrl;?>/files/admin/js/formValidator.jquery/cn.js"></script>
<!--时间选择器-->
<script language="javascript" src="<?php echo $this->baseUrl;?>/files/admin/js/date/calendar.js"></script>
<script language="javascript" src="<?php echo $this->baseUrl;?>/files/admin/js/date/lang/cn_utf8.js"></script>
<script language="javascript" src="<?php echo $this->baseUrl;?>/files/admin/js/date/calendar-setup.js"></script>
<link rel="stylesheet" href="<?php echo $this->baseUrl;?>/files/admin/js/date/calendar-blue.css" />
<!--colorbox-->

</head>

<body>
	<div id="main">
		<div id="navigation">当前位置：<a href="<?php echo $this->projectUrl(array('action'=>'index')) ;?>">商家订单列表 </a> &gt; <span id="focus"><?php echo $this->subtitle;?></span></div>
  <div id="body">
			<div id="edit">
				<form id="editForm" name="editForm" method="post" action="">
					<table class="table">
						<tr>
						  <td>统计日期</td>
						  <td>SourceId</td>
						  <td>SourceSubId</td>
						  <td>SourceName</td>
						  <td>广告渠道点击量</td>
					  </tr>
                      <?php if (count($this->sources)):?>
                      <?php foreach($this->sources as $source):?>
						<tr>
						  <td width="157"><?php echo $source['date'];?></td>
						  <td width="155"><?php echo $source['sourceId'];?></td>
						  <td width="261"><?php echo $source['sourceSubId'];?></td>
						  <td width="307"><?php echo $source['sourceName'];?></td>
						  <td width="307"> <input name="adClick[<?php echo $source['sourceId'];?>][<?php echo $source['sourceSubId'];?>][<?php echo $source['date'];?>]" type="text" class="validate[length[1,10]] input" id="adClick[<?php echo $source['sourceId'];?>][<?php echo $source['sourceSubId'];?>][<?php echo $source['date'];?>]" size="18" value="<?php echo intval($source['adClick']);?>"   />								</td>
					  </tr>
                      <?php endforeach;?>
                      <?php endif;?>
						<tr>
							<td>&nbsp;</td>
							<td>&nbsp;</td>
							<td>&nbsp;</td>
							<td>&nbsp;</td>
							<td><input type="submit" value="提交" class="button" />
                            <a href="<?php echo $this->projectUrl(array('controller'=>'day-data-wap-excel','action'=>'report','id'=>'yekbi123')) ;?>" target="_blank" >手动发送日报</a>                            </td>
						</tr>
					</table>
			  </form>
			</div>
		</div>
</div>

</body>
</html>